/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model.Ultility;

/**
 *
 * @author chickencake1
 */
public class UpperCase_FirstCharacter {
    public static String[] toUpperCaseFirstChar(String [] inputString)
    {
        for(int i=0;i<inputString.length;i++)
        {
            String temp1=inputString[i].substring(0,1);
            String temp2=inputString[i].substring(1);
            temp1=temp1.toUpperCase();
            inputString[i]="get"+temp1+temp2+"()";
        }
        
        return inputString;
        
    }
    public static void main(String []argv)
    {
        String []chuoi={"khang","yeu","kim"};
        toUpperCaseFirstChar(chuoi);
        for(int i=0;i<chuoi.length;i++)
        {
            System.out.println(chuoi[i]);
        }
    }
}
